// import userManage from './userTag/userTag.vue'
// import userTag from './user/user.vue'
// import userPge from './userPage.vue'
// const userManage = () => import('./user/user.vue')
const newsMaterial = () => import('./newsMaterial/newsMaterial.vue')
const materialPage = () => import('./materialPage.vue')
const WHeader = () => import('@/components/header.vue')
export default {
  path: '/material',
  name: 'materialPage',
  components: {
    content: materialPage,
    header: WHeader
  },
  redirect: '/newsMaterial',
  children: [
    {
      path: '/newsMaterial',
      name: 'newsMaterial',
      component: newsMaterial,
      meta: {
        requireAuth: true // 添加该字段，表示进入这个路由是需要登录的
      },
      children: []
    }
  ]
}
